import gugga.commands.NavigationCommand;
import gugga.components.CommandButton;

import navigationWithCommands.CommonSection;

/**
 * @author bony
*/
class navigationWithCommands.AboutSection extends CommonSection 
{
	// The AboutSection field - this is cross section button.
	private var mButtonContactUs:CommandButton;
		
	public function AboutSection() 
	{
		super();
		
		// Get the instance from the scene.
		mButtonContactUs = getComponent("btnContactUs");
	}

	public function initUI()
	{
		super.initUI();
		
		// The button "mButtonContactUs" navigate to section Contact Us, i.e. execute command "Contact".
        mButtonContactUs.Command = new NavigationCommand("Contact");
        
        // Initialization sequence		
		// Using the CommonSection initialization sequence.
		
		// Activating sequence		
		// Using the CommonSection activating sequence.
		
		// Open sequence		
		// Using the CommonSection open sequence.
		
		// Close sequence		
		// Using the CommonSection close sequence.        
	}
}